﻿using Curry.Forum.Command.Domain.Core;
using Curry.Forum.Command.Domain.IRepository.Interpace;
using Curry.Forum.Command.Repository.Model;
using Curry.Forum.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Curry.Forum.Command.Repository
{
    public class ArticleRepo : IArticleRepo
    {
        private DBHelper _sqlClient = new DBHelper();

        public void CreateArticle(Article model)
        {
            var num = _sqlClient.ExecuteWriteSql(Article.InsertSql, model);
        }
    }
}
